package cn.zswltech.gruul.xxljob;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author Jim
 * @version 1.0.0
 * @descripition:
 * @date 2024/2/19 11:29
 */
@Data
@Accessors(chain = true)
@Table(name = "yunhu_user")
public class YunHuUser {

    /**
     * 员工ID
     */
    @Id
    @Column(name = "emp_id")
    private String empId;

    /**
     * 年龄
     */
    @Column(name = "emp_age")
    private Integer empAge;

    /**
     * 职位编码
     */
    @Column(name = "pos_code")
    private String posCode;

    /**
     * 姓名
     */
    @Column(name = "emp_name")
    private String empName;

    /**
     * 学历名称
     */
    @Column(name = "edu_bg_name")
    private String eduBgName;

    /**
     * 部门名称
     */
    @Column(name = "dep_name")
    private String depName;

    /**
     * 部门编码
     */
    @Column(name = "dep_code")
    private String depCode;

    /**
     * 学历编码
     */
    @Column(name = "edu_bg_code")
    private String eduBgCode;

    /**
     * 营销服务人员
     */
    @Column(name = "pos_name")
    private String posName;

    /**
     * 员工状态编码
     */
    @Column(name = "emp_status_code")
    private String empStatusCode;

    /**
     * 公司名称
     */
    @Column(name = "org_name")
    private String orgName;

    /**
     * 员工状态名称
     */
    @Column(name = "emp_status_name")
    private String empStatusName;

    /**
     * 公司编码
     */
    @Column(name = "org_code")
    private String orgCode;

    @Column(name = "gmt_create")
    @JSONField(name = "etl_timestatmp")
    private Date gmtCreate;

    @Column(name = "gmt_modified")
    @JSONField(name = "etl_update_time")
    private Date gmtModified;


}
